#include<iostream>
int main(){
  if (__cplusplus == 201703l) std::cout<<"c++17\n";
  else if (__cplusplus == 201402l) std::cout<<"c++16\n";
  else if (__cplusplus == 201103l) std::cout<<"c++11\n";
  else if (__cplusplus == 199711l) std::cout<<"c++98\n";
  else std::cout<<"pre-standard c++\n";
  system("pause");
}